]> dgit.raspbian.org Git - gnome-shell.git/commit
status/brightness: Improve proxy error handling
authorFlorian Müllner <fmuellner@gnome.org>
Sat, 30 Jul 2022 11:07:31 +0000 (13:07 +0200)
committerMarge Bot <marge-bot@gnome.org>
Mon, 1 Aug 2022 12:33:36 +0000 (12:33 +0000)
commited2ae06f3502ecd745dda529f61078afdf8962f3
tree82fcf3a70583e005ff631e946254562604130a56
parent87e4eda46db625eba4388aaea9d6503ec518b594
status/brightness: Improve proxy error handling

On error, we currently print a warning and bail out early. That
means we don't hide the slider, despite it being non-functional
without the proxy.

Fix this by making sure _sync() is called in any case. While at
it, use an appropriate log level for the warning message.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2391>
js/ui/status/brightness.js